package com.zjp.model.menus;

import java.util.Date;

/**
 * 目录表
 * @author Administrator
 *
 */
public class Menusinfo {
	
	/**
	 * pk id
	 */
	private long id;
	/**
	 * 目录名称
	 */
	private String name;
	/**
	 * code
	 */
	private String code;
	/**
	 * 父id 本字段为空，说明是一级菜单，有值就是该值下属的下一级菜单
	 */
	private long parentsId;
	/**
	 * 1.店铺菜单；2.商品菜单
	 */
	private int type;
	/**
	 * 1.启用；2.不用
	 */
	private int status;
	/**
	 * 创建时间
	 */
	private Date created;
	/**
	 * 修改时间
	 */
	private Date modifyd;
	/**
	 * 删除时间
	 */
	private Date deleted;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public long getParentsId() {
		return parentsId;
	}
	public void setParentsId(long parentsId) {
		this.parentsId = parentsId;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	public Date getModifyd() {
		return modifyd;
	}
	public void setModifyd(Date modifyd) {
		this.modifyd = modifyd;
	}
	public Date getDeleted() {
		return deleted;
	}
	public void setDeleted(Date deleted) {
		this.deleted = deleted;
	}
	public Menusinfo(long id, String name, String code, long parentsId,
			int type, int status, Date created, Date modifyd, Date deleted) {
		super();
		this.id = id;
		this.name = name;
		this.code = code;
		this.parentsId = parentsId;
		this.type = type;
		this.status = status;
		this.created = created;
		this.modifyd = modifyd;
		this.deleted = deleted;
	}
	public Menusinfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
	

}
